<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Drop (delete) mSQL database</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.msql-dbname.html">msql_dbname</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.msql-error.html">msql_error</a></div>
 <div class="up"><a href="ref.msql.html">mSQL 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.msql-drop-db" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">msql_drop_db</h1>
  <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">msql_drop_db</span> &mdash; <span class="dc-title">Drop (delete) mSQL database</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.msql-drop-db-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>msql_drop_db</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$database_name</code></span>
   [, <span class="methodparam"><span class="type">resource</span> <code class="parameter">$link_identifier</code></span>
  ] )</div>

  <p class="para rdfs-comment">
   <span class="function"><strong>msql_drop_db()</strong></span> attempts to drop (remove) a database
   from the mSQL server.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.msql-drop-db-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">database_name</code></em></dt>

     <dd>

      <p class="para">
       The name of the database.
      </p>
     </dd>

    
    <dt>
<em><code class="parameter">
link_identifier</code></em></dt>
<dd>
<p class="para">mSQL 连接。如果不指定，则使用由
<span class="function"><a href="function.msql-connect.html" class="function">msql_connect()</a></span> 最近打开的连接。如果没有找到该连接，函数会尝试通过调用
<span class="function"><a href="function.msql-connect.html" class="function">msql_connect()</a></span> 建立连接并使用它。
</p></dd>

   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.msql-drop-db-returnvalues">
  <h3 class="title">返回值</h3>  
  <p class="para">
   成功时返回 <strong><code>TRUE</code></strong>， 或者在失败时返回 <strong><code>FALSE</code></strong>。
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.msql-drop-db-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.msql-create-db.html" class="function" rel="rdfs-seeAlso">msql_create_db()</a> - Create mSQL database</span></li>
   </ul>
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.msql-dbname.html">msql_dbname</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.msql-error.html">msql_error</a></div>
 <div class="up"><a href="ref.msql.html">mSQL 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
